import request from '@/utils/request'

// 报价系统
// 国家管理
export function selectCountry(data) {
  console.log('参数:', data)
  return request.get('/price/selectCountry', data)
}

// 添加国家
export function insertCountry(data) {
  return request.get('/price/insertCountry', data)
}

// 修改国家
export function updateCountry(data) {
         return request.get("/price/updateCountry", data);
       }

// 删除国家
export function deleteCountry(data) {
         return request.delete("/price/deleteCountry", data);
       }

// 渠道管理
// 显示渠道管理
export function selectChannel(data) {
         console.log("参数:", data);
         return request.get("/price/selectChannel", data);
       }

// 添加渠道管理
export function insertChannel(data) {
         return request.get("/price/insertChannel", data);
       }

// 修改渠道管理
export function updateChannel(data) {
         return request.get("/price/updateChannel", data);
       }

// 删除渠道管理
export function deleteChannel(data) {
         return request.delete("/price/deleteChannel", data);
       }

    
// 偏远地区
// 显示所有偏远地区
export function selectAllRemote_area(data) {
         console.log("参数:", data);
         return request.get("/price/selectAllRemote_area", data);
       }

// 添加偏远
export function insertRemote_area(data) {
         return request.get("/price/insertRemote_area", data);
       }

// 修改偏远
export function updateRemote_area(data) {
         return request.get("/price/updateRemote_area", data);
       }

// 删除偏远
export function deleteRemote_area(data) {
         return request.delete("/price/deleteRemote_area", data);
       }

// 汇率
// 查询
export function selectER(data) {
  return request.get('/price/selectER', data)
}
// 添加
export function insertER(data) {
  return request.get('/price/insertER', data)
}

// 修改
export function updateER(data) {
  return request.get('/price/updateER', data)
}

// 删除
export function deleteER(data) {
  return request.delete("/price/deleteER", data);
}

// 超长超重规则
export function insertSWL(data) {
  return request.get('/price/insertSWL', data)
}
export function selectSWL(data) {
  return request.get('/price/selectSWL', data)
}
export function deleteSWL(data) {
  return request.delete('/price/deleteSWL', data)
}
export function updateSWL(data) {
  return request.get('/price/updateSWL', data)
}

// 出货公司
export function insertSC(data) {
  return request.get('/price/insertSC', data)
}
export function selectSC(data) {
  return request.get('/price/selectSC', data)
}
export function deleteSC(data) {
  return request.delete('/price/deleteSC', data)
}
export function updateSC(data) {
  return request.get('/price/updateSC', data)
}
// 大货分段
export function insertLargeGoods(data) {
  return request.get('/price/insertLargeGoods', data)
}
export function selectAllLargeGoods(data) {
  return request.get('/price/selectAllLargeGoods', data)
}
export function deleteLargeGoods(data) {
  return request.delete('/price/deleteLargeGoods', data)
}
export function updateLargeGoods(data) {
  return request.get('/price/updateLargeGoods', data)
}
// 增值服务
export function insertAdd(data) {
  return request.get('/price/insertAdd', data)
}
export function updateAdd(data) {
  return request.post('/price/updateAdd', data)
}
export function deleteAdd(data) {
  return request.delete('/price/deleteAdd', data)
}
export function selectAllAdd(data) {
  return request.post('/price/selectAllAdd', data)
}
